Fourier series expansion of x^2